package org.darkforest.common.services.impl;

import org.darkforest.common.services.EnumParamService;
import org.darkforest.dao.mapper.EnumParamMapper;
import org.darkforest.model.EnumParam;
import org.darkforest.model.EnumParamGiftDestributionVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2017/4/20.
 */
@Service
public class EnumParamServiceImpl implements EnumParamService {


    @Autowired
    private EnumParamMapper enumParamMapper;

    /**
     * 关联查询参数与定制配送
     *
     * @param enumParam
     * @return
     */
    @Override
    public List<EnumParamGiftDestributionVo> selectListWithGiftDestributionByCondition(EnumParam enumParam) {
        return enumParamMapper.selectListWithGiftDestributionByCondition(enumParam);
    }
}
